package com.kintreda.ieco_server.module.order.service;

import com.kintreda.ieco_server.bean.order.UsageRecord;
import com.kintreda.ieco_server.core.service.IBaseService;

import java.util.List;
import java.util.Map;

/**
 * @Created by IntelliJ IDEA
 * @Project_Name ieco_server
 * @Package com.kintreda.ieco_server.module.order.service
 * @Author ZhongYao_H
 * @Date 2019/5/4:17:19
 * @Year 2019 Month 05 Day 04
 * @Date_zh 2019 年 五月 星期六
 */

public interface IUsageRecordService extends IBaseService<UsageRecord,String> {

    List<Map<String,Object>> limtQuery(Integer page, Integer rows, String code, String status);

    UsageRecord getByQrcode(String qrcode,String status);

    UsageRecord getByQrcode(String qrcode,String status,String status2);

    Long countUse(String userId);

    List<Map<String,Object>> queryByStatus(String status ,String userId );

    List<Map<String,Object>> queryOrgUsageRecordList(String orgId);

    List<Map<String,Object>> queryUserUsageRecordList(String orgId);



}
